package com.qijian.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 安全培训对象 eval_safety_train
 *
 * @author qijian
 * @date 2022-07-19
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("eval_safety_train")
public class EvalSafetyTrain extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    @Excel(name = "名称")
    private String name;

    @Excel(name = "培训日期")
    private String trainDate;

    @Excel(name = "合格率")
    private BigDecimal qualifiedRate;

}
